Fix package import compatibility with cyberstorm-schemas#3
Merged
cyberstorm-daemon merged 1 commit intomainfrom Sep 7, 2025
Merged
Fix package import compatibility with cyberstorm-schemas#3cyberstorm-daemon merged 1 commit intomainfrom
cyberstorm-daemon merged 1 commit intomainfrom
Conversation
6648bc0 to
4800579
Compare
- Move EAS package to lowercase eas namespace - Generate protobuf files directly at eas.v1.* location - Update buf.gen.yaml to output to correct namespace - Modify pyproject.toml for new package structure (v0.1.2) - Update Taskfile.yml protobuf generation paths - Fix import compatibility with cyberstorm-schemas>=1.0.2 This resolves the ModuleNotFoundError when importing from eas.v1 as expected by buf.build/cyberstorm/eas-schemas consumers.
4800579 to
15c33a1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the import path mismatch between cyberstorm-schemas and eas-sdk packages that was preventing them from working together.
Problem
from eas.v1 import messages_pb2EAS.generated.eas.v1.messages_pb2This caused
ModuleNotFoundError: No module named 'eas'when trying to use both packages together.Solution
EAStoeasnamespace (lowercase)eas.v1.*locationChanges
easnamespacesrc/main/eas/v1/messages_pb2.pyfrom eas import EASTesting
✅ Import compatibility verified:
Breaking Changes
EAStoeas(lowercase)EAS.generated.eas.v1.*toeas.v1.*Resolves the compatibility issue described in the original bug report.